package com.example.erat.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("experiment")
public class Experiment implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private int experimentId;    // 实验ID
    private int courseId;        // 所属课程ID
    private String experimentName;  // 实验名称
    private String description;     // 实验描述
    private Date publishDate;       // 发布日期
    private Date deadline;          // 截止日期
}

